package com.bruceewu.galleryphoto.view;

import android.view.View;

import com.bruceewu.configor.entity.CusOnClickListener;
import com.bruceewu.configor.entity.DisplayItem;
import com.bruceewu.configor.holder.base.CusBaseHolder;
import com.bruceewu.galleryphoto.R;

public class TestHolder extends CusBaseHolder {

    public TestHolder(View rootView) {
        super(rootView);
    }

    @Override
    public int layoutID() {
        return R.layout.holder_test;
    }

    @Override
    public void renderUI(DisplayItem item, CusOnClickListener listener) {
        mHelper.setText(R.id.title, (String) item.getExtra("title"));
    }
}
